package com.fsy.spring;

import com.fsy.spring.annotation.AbstractTaskHandler;
import com.fsy.spring.annotation.Bean.BaseResult;
import com.fsy.spring.annotation.Bean.Task;
import com.fsy.spring.annotation.TaskExecutor;
import com.fsy.spring.annotation.TaskHandlerRegister;
import com.fsy.spring.annotation1.Person;
import com.fsy.spring.annotation1.TestBean;
import com.fsy.spring.annotation1.TestFun;
import org.apache.catalina.core.ApplicationContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by shuangyu.feng on 2017/8/9.
 */
@SpringBootApplication
@ComponentScan("com.fsy.spring")
public class ApplicationRun {

	public static void main(String[] args){
		SpringApplication.run(ApplicationRun.class,args);
		TestFun testFun = new TestFun();
		testFun.sendPersonInfo();
	}

}
